//
//  Media.swift
//  JiaoZiTaxi
//
//  Created by Hu Gang on 2022/10/12.
//

import Foundation
import SwiftUI

struct Media: Codable,Equatable,Identifiable {
    var id = UUID()
    var cover : String = ""
    var width : Double = 0.0
    var height : Double = 0.0
    var url : String = ""

    enum CodingKeys:String,CodingKey {
        case id,cover,width,height,url
    }

}
